﻿@model CAOS.Entity.Recurso
@{
    ViewBag.Title = "Deletar Recurso";
}
<h4>
    Tem certeza que deseja deletar o Recurso?</h4>
<fieldset>
    <legend></legend>
    <div class="editor-label">
        <label for="Sistema">
            Sistema:</label>
    </div>
    <div class="editor-field">
        <h4>
            @Model.Sistema.Sigla</h4>
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Codigo)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Codigo, new { disabled = "disabled", @readonly = "readonly" })
    </div>
    <div class="editor-label">
        <span>Descrição</span>
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Nome, new { disabled = "disabled", @readonly = "readonly" })
    </div>
    <div class="clear">
    </div>
</fieldset>
@using (Html.BeginForm())
{
    <div class="botoes-form">
        <button type="submit" class="btn btn-danger">
            Deletar
        </button>
    </div>    
}
<div>
    @Html.ActionLink("Voltar", "Index")
</div>
